projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32ac8b0
)
dm: core: add missing dev_count_phandle_with_args()
author
Patrice Chotard
<
[email protected]
>
Wed, 29 Nov 2017 08:06:10 +0000
(09:06 +0100)
committer
Joe Hershberger
<
[email protected]
>
Mon, 15 Jan 2018 18:05:19 +0000
(12:05 -0600)
Add missing dev_count_phandle_with_args() to avoid
compilation issue.
Signed-off-by: Patrice Chotard <
[email protected]
>
Reviewed-by: Joe Hershberger <
[email protected]
>
drivers/core/read.c
patch
|
blob
|
history
diff --git
a/drivers/core/read.c
b/drivers/core/read.c
index 5d440cee72144c80078412aeaefb6d4d75ed6709..f346cc1eb696822dab1d138e46f597bb6ccb4d47 100644
(file)
--- a/
drivers/core/read.c
+++ b/
drivers/core/read.c
@@
-103,6
+103,13
@@
int dev_read_phandle_with_args(struct udevice *dev, const char *list_name,
out_args);
}
+int dev_count_phandle_with_args(struct udevice *dev, const char *list_name,
+ const char *cells_name)
+{
+ return ofnode_count_phandle_with_args(dev_ofnode(dev), list_name,
+ cells_name);
+}
+
int dev_read_addr_cells(struct udevice *dev)
{
return ofnode_read_addr_cells(dev_ofnode(dev));